﻿{% load i18n themes%}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
	<title> {% block title %}title{% endblock %} - {{SITE_NAME}}</title>
	{% block meta %}
	<meta http-equiv="content-type" content="{% block meta.content-type %}text/html;charset=UTF-8{% endblock meta.content-type %}" />
	<meta name="description" content="{% block meta.description %}{{ SITE_NAME }}{% endblock meta.description %}" />
	<meta name="keywords" content="{% block meta.keywords %}{{ SITE_NAME }} {% endblock meta.keywords %}" />
	<meta name="robots" content="{% block meta.robots %}index,follow{% endblock meta.robots %}" />
	<meta name="generator" content="django" />
	<meta name="copyright" content="http://www.{{SITE_NAME}}.com/" />
	{% endblock meta %}

	{% block css %}
	{% block css.shared %}
	<link href="{{MEDIA_URL}}themes/yaml/css/layout_grids.css" rel="stylesheet" type="text/css"/>
	<!--[if lte IE 7]>
	<link href="{{MEDIA_URL}}themes/yaml/css/patches/patch_grids.css" rel="stylesheet" type="text/css" />
	<![endif]-->
	{% endblock css.shared %}
	{% block css.custom %}	{% endblock css.custom %}
	{% endblock css%}

	{% block js %}
	{% block js.shared %}<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.3.2.min.js"></script>{% endblock js.shared %}
	{% block js.custom %}{% endblock js.custom %}
	{% endblock js%}
	
	{% block rss %}
	{% block rss.shared %}
	<link href="{{MEDIA_URL}}images/favicon.ico" type="image/x-icon" rel="shortcut icon" >
	<link href="{{MEDIA_URL}}images/favicon.ico" type="image/ico" rel="icon"  >
	<link href="{{MEDIA_URL}}images/favicon.ico" type="image/x-icon" rel="bookmark" >
	<link href="" title="存档" type="application/rss+xml" rel="archives" >
	<link href="/opensearch.xml" title="搜索" type="application/opensearchdescription+xml" rel="search" >
	<link href="/rss/news.rss" title="资讯" type="application/rss+xml" rel="alternate" >
	<link href="/rss/comment.rss" title="评论" type="application/rss+xml" rel="alternate" >
	<link href="/rss/blog.rss" title="日志" type="application/rss+xml" rel="alternate" >
	<link href="/rss/topic.rss" title="话题" type="application/rss+xml" rel="alternate" >
	{% endblock rss.shared%}	
	{% block rss.custom %}	{% endblock rss.custom%}
	{% endblock rss%}
	
	{% block head.extra %}{% endblock head.extra%}
</head>
<body{% block bodyonload %}{% endblock bodyonload %}>
	<div id="topnav">
	    <div class="page_margins">
	        <div class="page">
	            <!-- start: skip link navigation -->
	            <a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span>
	            <a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span>
	            <!-- end: skip link navigation -->
	            <span style="float:right">
	            	{% if user.is_authenticated %}
	            	<a href="{% url profile_overview %}">{{user.username}}'s {% trans "Profile" %}</a> | <a href="{% url logout %}">{% trans "Logout" %}</a>
	            	{% else %}
			        <span class="highlight">
			        	<a href="{% url profile_overview %}" title="登录">登录</a> 
			        	<a href="{% url signup %}" title="欢迎加入我们">注册</a></span>
						<a href="{% url password_reset %}" title="请和管理员联系" style="cursor:help;">忘记密码</a>
	            	{% endif %}      
	            </span>
	            ★{{SITE_NAME}}        
	        </div>
	    </div>
	</div>

	<div id="header">
		<div class="page_margins">
		<div class="page">
			<img src="{{MEDIA_URL}}images/logo.gif" alt="{{SITE_NAME}}'s LOGO"/>
		</div>
		</div>
	</div>

	<!-- begin: navigation #nav -->
	<div id="nav"> 
		<div class="page_margins">
			<div class="page">
			<a id="navigation" name="navigation"></a><!-- skiplink anchor: navigation -->
			{% load navbar %}{% navbars %}		
			</div>
		</div>			
	</div>
	<!-- end: navigation #nav-->
	<!-- end: breadcrumbs -->
	<div id="breadcrumbs">
		<div class="page_margins">
			<div class="page">
				<span class='float_right'>欢迎您的光临！          
				{{ SITE_TIME|date:"Y-m-d  D" }}</span>
				您的足迹: <a href="/" >{% trans "Home" %}</a>{% block breadcrumbs %}{% for crumb in crumbs %} &raquo; <a href="{{ crumb.path }}">{% trans crumb.name %}</a>{% if not forloop.last %}&raquo;{% endif %}{% endfor %}{% endblock %}
			</div>
		</div>
	</div>
	<!-- end: breadcrumbs -->

	<!-- begin: main content area #main -->
	<div id="main">
		<div class="page_margins">
			<div class="page">
				<a id="content" name="content"></a><!-- skiplink anchor: Content -->		
				{% block content %}
				{% endblock %}			
			</div><!--page-->
		</div><!--page_margins-->
	</div><!--main-->
	<!-- end: #main -->

	{% block extended_content %}
	{% endblock extended_content%}

	<!-- begin: #footer -->
	{%comment%}{%endcomment%}<div id="footer">
		<div class="page_margins">
		  <div class="page">
		  	<div class="subcolumns">
				<div class="c62l">
				  <div class="subcl">
					<a href="/faq/aboutus">关于我们</a> -
					<a href="/faq/contact">联系方式</a> -
					<a href="/link/">友情链接</a> -
					<a href="/sitemap.xml">网站地图</a> -
					<a href="/admin/">后台管理</a> -
					<a href="/faq/">帮助</a> -
					<a href="/forum/">论坛</a><br />
					&copy; 2008 - 2009 {{SITE_NAME}}&trade; Website. All rights reserved.
					<br/>Powered by <a href="http://code.google.com/p/ddtcms/" class="refout">DDTCMS</a> <EM>{{DDTCMS_VERSION}}</EM> .
					{{ SITE_NAME }} 版权所有 &copy;  2008. 保留所有权利. <br />
					地址：XX省XX市 电话：0123456789,本站由 <strong>站长</strong> 创建.ICP备000000000号.
				  </div>
				</div>
			
				<div class="c38r">
				  <div class="subcr" style="text-align:right;color: #666;">
				   <p>内容管理系统基于 <strong>DDTCMS</strong> CMS 项目.<br/>页面布局样式基于 <strong>YAML</strong> CSS 架构.<br/> 网站服务运行基于 <strong>Django</strong> WEB 架构.</p>
				  </div>
				</div>
			</div>
		  	
		  </div>
		</div>
  	</div>
	<!-- end: #footer -->
</body>
</html>








